package cn.maihe.elg.operation.repository.entity.entityCustom;

import cn.maihe.elg.operation.repository.entity.UserDO;
import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;

import java.util.List;

@Data
public class UserDOCustom extends UserDO {
       /**
     * 一个用户具有多个角色
     */
    @TableField(value = "role_list" ,exist =false)
    private List<RoleDOCustom> roleList;


    private String fullName;
    private Long organizationId;
}
